<?php
    
    namespace app\index\controller;
    
    class News
    {
        //读取文章
        public function read($id ){
            echo "读取文章".$id;
//            dump(request()->user);
        }
        
        public function add(){
            echo "添加文章";
        }

        
        
        //更新文章
        public function update($id){
            echo "更新文章".$id;
        }
        
        public function delete($id){
            echo "删除文章".$id;
        }
        
        
        
     
        
        
        
        
        
    }